<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script type="text/javascript" src="person.js"></script>
</head>
<body>
<script type="text/javascript">
p.name = 'zs';
p.age  = 20;
p.sayHi(); 
</script>

</body>
</html>